package com.group01.service.Impl;


import com.group01.entity.Book;
import com.group01.mapper.BookMapperImpl;
import com.group01.service.BookService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class BookServiceImpl  implements BookService {


    @Autowired
    private BookMapperImpl bookMapper;

    @Override
    public List<Book> getAllBooks(){
        return bookMapper.selectAllbooks();
    }
}
